package com.gas.gm.dao;

import javax.persistence.EntityManager;

import org.springframework.dao.DataAccessException;

public interface GasDao<E> {

	void persist(E entity) throws DataAccessException;
	
	void remove(E entity)throws DataAccessException;
	
	E merge(E entity)throws DataAccessException;
	
	EntityManager getEntityManager();
}
